package com.eat.fish_service.service;

import com.eat.common_utils.R;
import com.eat.fish_service.entity.ExpertCheck;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author WZX
 * @since 2022-08-01
 */
public interface ExpertCheckService extends IService<ExpertCheck> {

    R addExpertCheck(ExpertCheck expertCheck);

//    R getAllExpertCheck();

//    R passExpertCheck(ExpertCheck expertCheck);

    R apply(ExpertCheck expertCheck);

    R result(String id, Integer isPass, String reason);

    R queryMyApply(String id);

    R queryCheckList();

    R getOneExpertCheck(String id);

    int checkSize();
}
